home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-10-28 | 11.6 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6d 73 40 6d 6f 6c |piled by| rms@mol|
|00000020| 65 2e 67 6e 75 2e 61 69 | 2e 6d 69 74 2e 65 64 75 |e.gnu.ai|.mit.edu|
|00000030| 20 6f 6e 20 54 75 65 20 | 4d 61 72 20 20 35 20 31 | on Tue |Mar 5 1|
|00000040| 31 3a 34 32 3a 31 38 20 | 31 39 39 36 0a 3b 3b 3b |1:42:18 |1996.;;;|
|00000050| 20 66 72 6f 6d 20 66 69 | 6c 65 20 2f 68 6f 6d 65 | from fi|le /home|
|00000060| 2f 66 73 66 2f 72 6d 73 | 2f 65 31 39 2f 6c 69 73 |/fsf/rms|/e19/lis|
|00000070| 70 2f 64 65 73 6b 74 6f | 70 2e 65 6c 0a 3b 3b 3b |p/deskto|p.el.;;;|
|00000080| 20 65 6d 61 63 73 20 76 | 65 72 73 69 6f 6e 20 31 | emacs v|ersion 1|
|00000090| 39 2e 33 30 2e 39 31 2e | 32 2e 0a 3b 3b 3b 20 62 |9.30.91.|2..;;; b|
|000000a0| 79 74 65 63 6f 6d 70 20 | 76 65 72 73 69 6f 6e 20 |ytecomp |version |
|000000b0| 46 53 46 20 32 2e 31 30 | 0a 3b 3b 3b 20 6f 70 74 |FSF 2.10|.;;; opt|
|000000c0| 69 6d 69 7a 61 74 69 6f | 6e 20 69 73 20 6f 6e 2e |imizatio|n is on.|
|000000d0| 0a 3b 3b 3b 20 74 68 69 | 73 20 66 69 6c 65 20 75 |.;;; thi|s file u|
|000000e0| 73 65 73 20 6f 70 63 6f | 64 65 73 20 77 68 69 63 |ses opco|des whic|
|000000f0| 68 20 64 6f 20 6e 6f 74 | 20 65 78 69 73 74 20 69 |h do not| exist i|
|00000100| 6e 20 45 6d 61 63 73 20 | 31 38 2e 0a 0a 28 69 66 |n Emacs |18...(if|
|00000110| 20 28 61 6e 64 20 28 62 | 6f 75 6e 64 70 20 27 65 | (and (b|oundp 'e|
|00000120| 6d 61 63 73 2d 76 65 72 | 73 69 6f 6e 29 0a 09 20 |macs-ver|sion).. |
|00000130| 28 6f 72 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(or (and| (boundp|
|00000140| 20 27 65 70 6f 63 68 3a | 3a 76 65 72 73 69 6f 6e | 'epoch:|:version|
|00000150| 29 20 65 70 6f 63 68 3a | 3a 76 65 72 73 69 6f 6e |) epoch:|:version|
|00000160| 29 0a 09 20 20 20 20 20 | 28 73 74 72 69 6e 67 2d |).. |(string-|
|00000170| 6c 65 73 73 70 20 65 6d | 61 63 73 2d 76 65 72 73 |lessp em|acs-vers|
|00000180| 69 6f 6e 20 22 31 39 2e | 32 39 22 29 29 29 0a 20 |ion "19.|29"))). |
|00000190| 20 20 20 28 65 72 72 6f | 72 20 22 60 64 65 73 6b | (erro|r "`desk|
|000001a0| 74 6f 70 2e 65 6c 27 20 | 77 61 73 20 63 6f 6d 70 |top.el' |was comp|
|000001b0| 69 6c 65 64 20 66 6f 72 | 20 45 6d 61 63 73 20 31 |iled for| Emacs 1|
|000001c0| 39 2e 32 39 20 6f 72 20 | 6c 61 74 65 72 22 29 29 |9.29 or |later"))|
|000001d0| 0a 0a 0a 23 40 35 39 20 | 46 69 6c 65 20 66 6f 72 |...#@59 |File for|
|000001e0| 20 45 6d 61 63 73 20 64 | 65 73 6b 74 6f 70 2c 20 | Emacs d|esktop, |
|000001f0| 6e 6f 74 20 69 6e 63 6c | 75 64 69 6e 67 20 74 68 |not incl|uding th|
|00000200| 65 20 64 69 72 65 63 74 | 6f 72 79 20 6e 61 6d 65 |e direct|ory name|
|00000210| 2e 1f 0a 28 64 65 66 63 | 6f 6e 73 74 20 64 65 73 |...(defc|onst des|
|00000220| 6b 74 6f 70 2d 62 61 73 | 65 66 69 6c 65 6e 61 6d |ktop-bas|efilenam|
|00000230| 65 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 08 c1 |e (byte-|code "..|
|00000240| 3d 84 5c 66 00 08 c2 3d | 83 0e 00 c3 87 c4 87 22 |=.\f...=|......."|
|00000250| 20 5b 73 79 73 74 65 6d | 2d 74 79 70 65 20 6d 73 | [system|-type ms|
|00000260| 2d 64 6f 73 20 77 69 6e | 64 6f 77 73 2d 6e 74 20 |-dos win|dows-nt |
|00000270| 22 65 6d 61 63 73 2e 64 | 73 6b 22 20 22 2e 65 6d |"emacs.d|sk" ".em|
|00000280| 61 63 73 2e 64 65 73 6b | 74 6f 70 22 5d 20 32 29 |acs.desk|top"] 2)|
|00000290| 20 28 23 24 20 2e 20 34 | 37 32 29 29 0a 23 40 31 | (#$ . 4|72)).#@1|
|000002a0| 30 31 20 2a 49 66 20 6e | 6f 6e 2d 6e 69 6c 20 74 |01 *If n|on-nil t|
|000002b0| 68 65 6e 20 64 65 73 6b | 74 6f 70 20 77 61 72 6e |hen desk|top warn|
|000002c0| 73 20 77 68 65 6e 20 61 | 20 66 69 6c 65 20 6e 6f |s when a| file no|
|000002d0| 20 6c 6f 6e 67 65 72 20 | 65 78 69 73 74 73 2e 0a | longer |exists..|
|000002e0| 4f 74 68 65 72 77 69 73 | 65 20 69 74 20 73 69 6d |Otherwis|e it sim|
|000002f0| 70 6c 79 20 69 67 6e 6f | 72 65 73 20 74 68 61 74 |ply igno|res that|
|00000300| 20 66 69 6c 65 2e 1f 0a | 28 64 65 66 76 61 72 20 | file...|(defvar |
|00000310| 64 65 73 6b 74 6f 70 2d | 6d 69 73 73 69 6e 67 2d |desktop-|missing-|
|00000320| 66 69 6c 65 2d 77 61 72 | 6e 69 6e 67 20 74 20 28 |file-war|ning t (|
|00000330| 23 24 20 2e 20 2d 36 37 | 35 29 29 0a 23 40 32 35 |#$ . -67|5)).#@25|
|00000340| 38 20 4c 69 73 74 20 6f | 66 20 67 6c 6f 62 61 6c |8 List o|f global|
|00000350| 20 76 61 72 69 61 62 6c | 65 73 20 74 6f 20 73 61 | variabl|es to sa|
|00000360| 76 65 20 77 68 65 6e 20 | 6b 69 6c 6c 69 6e 67 20 |ve when |killing |
|00000370| 45 6d 61 63 73 2e 0a 41 | 6e 20 65 6c 65 6d 65 6e |Emacs..A|n elemen|
|00000380| 74 20 6d 61 79 20 62 65 | 20 76 61 72 69 61 62 6c |t may be| variabl|
|00000390| 65 20 6e 61 6d 65 20 28 | 61 20 73 79 6d 62 6f 6c |e name (|a symbol|
|000003a0| 29 0a 6f 72 20 61 20 63 | 6f 6e 73 20 63 65 6c 6c |).or a c|ons cell|
|000003b0| 20 6f 66 20 74 68 65 20 | 66 6f 72 6d 20 20 28 56 | of the |form (V|
|000003c0| 41 52 20 2e 20 4d 41 58 | 2d 53 49 5a 45 29 2c 0a |AR . MAX|-SIZE),.|
|000003d0| 77 68 69 63 68 20 6d 65 | 61 6e 73 20 74 6f 20 74 |which me|ans to t|
|000003e0| 72 75 6e 63 61 74 65 20 | 56 41 52 27 73 20 76 61 |runcate |VAR's va|
|000003f0| 6c 75 65 20 74 6f 20 61 | 74 20 6d 6f 73 74 20 4d |lue to a|t most M|
|00000400| 41 58 2d 53 49 5a 45 20 | 65 6c 65 6d 65 6e 74 73 |AX-SIZE |elements|
|00000410| 0a 28 69 66 20 74 68 65 | 20 76 61 6c 75 65 20 69 |.(if the| value i|
|00000420| 73 20 61 20 6c 69 73 74 | 29 20 62 65 66 6f 72 65 |s a list|) before|
|00000430| 20 73 61 76 69 6e 67 20 | 74 68 65 20 76 61 6c 75 | saving |the valu|
|00000440| 65 2e 1f 0a 28 64 65 66 | 76 61 72 20 64 65 73 6b |e...(def|var desk|
|00000450| 74 6f 70 2d 67 6c 6f 62 | 61 6c 73 2d 74 6f 2d 73 |top-glob|als-to-s|
|00000460| 61 76 65 20 28 6c 69 73 | 74 20 28 71 75 6f 74 65 |ave (lis|t (quote|
|00000470| 20 64 65 73 6b 74 6f 70 | 2d 6d 69 73 73 69 6e 67 | desktop|-missing|
|00000480| 2d 66 69 6c 65 2d 77 61 | 72 6e 69 6e 67 29 20 28 |-file-wa|rning) (|
|00000490| 71 75 6f 74 65 20 74 61 | 67 73 2d 66 69 6c 65 2d |quote ta|gs-file-|
|000004a0| 6e 61 6d 65 29 20 28 71 | 75 6f 74 65 20 74 61 67 |name) (q|uote tag|
|000004b0| 73 2d 74 61 62 6c 65 2d | 6c 69 73 74 29 20 28 71 |s-table-|list) (q|
|000004c0| 75 6f 74 65 20 73 65 61 | 72 63 68 2d 72 69 6e 67 |uote sea|rch-ring|
|000004d0| 29 20 28 71 75 6f 74 65 | 20 72 65 67 65 78 70 2d |) (quote| regexp-|
|000004e0| 73 65 61 72 63 68 2d 72 | 69 6e 67 29 20 28 71 75 |search-r|ing) (qu|
|000004f0| 6f 74 65 20 72 65 67 69 | 73 74 65 72 2d 61 6c 69 |ote regi|ster-ali|
|00000500| 73 74 29 29 20 28 23 24 | 20 2e 20 38 33 34 29 29 |st)) (#$| . 834))|
|00000510| 0a 23 40 31 30 37 20 4c | 69 73 74 20 6f 66 20 6c |.#@107 L|ist of l|
|00000520| 6f 63 61 6c 20 76 61 72 | 69 61 62 6c 65 73 20 74 |ocal var|iables t|
|00000530| 6f 20 73 61 76 65 20 66 | 6f 72 20 65 61 63 68 20 |o save f|or each |
|00000540| 62 75 66 66 65 72 2e 0a | 54 68 65 20 76 61 72 69 |buffer..|The vari|
|00000550| 61 62 6c 65 73 20 61 72 | 65 20 73 61 76 65 64 20 |ables ar|e saved |
|00000560| 6f 6e 6c 79 20 77 68 65 | 6e 20 74 68 65 79 20 72 |only whe|n they r|
|00000570| 65 61 6c 6c 79 20 61 72 | 65 20 6c 6f 63 61 6c 2e |eally ar|e local.|
|00000580| 1f 0a 28 64 65 66 76 61 | 72 20 64 65 73 6b 74 6f |..(defva|r deskto|
|00000590| 70 2d 6c 6f 63 61 6c 73 | 2d 74 6f 2d 73 61 76 65 |p-locals|-to-save|
|000005a0| 20 28 6c 69 73 74 20 28 | 71 75 6f 74 65 20 64 65 | (list (|quote de|
|000005b0| 73 6b 74 6f 70 2d 6c 6f | 63 61 6c 73 2d 74 6f 2d |sktop-lo|cals-to-|
|000005c0| 73 61 76 65 29 20 28 71 | 75 6f 74 65 20 74 72 75 |save) (q|uote tru|
|000005d0| 6e 63 61 74 65 2d 6c 69 | 6e 65 73 29 20 28 71 75 |ncate-li|nes) (qu|
|000005e0| 6f 74 65 20 63 61 73 65 | 2d 66 6f 6c 64 2d 73 65 |ote case|-fold-se|
|000005f0| 61 72 63 68 29 20 28 71 | 75 6f 74 65 20 63 61 73 |arch) (q|uote cas|
|00000600| 65 2d 72 65 70 6c 61 63 | 65 29 20 28 71 75 6f 74 |e-replac|e) (quot|
|00000610| 65 20 66 69 6c 6c 2d 63 | 6f 6c 75 6d 6e 29 20 28 |e fill-c|olumn) (|
|00000620| 71 75 6f 74 65 20 6f 76 | 65 72 77 72 69 74 65 2d |quote ov|erwrite-|
|00000630| 6d 6f 64 65 29 20 28 71 | 75 6f 74 65 20 63 68 61 |mode) (q|uote cha|
|00000640| 6e 67 65 2d 6c 6f 67 2d | 64 65 66 61 75 6c 74 2d |nge-log-|default-|
|00000650| 6e 61 6d 65 29 20 28 71 | 75 6f 74 65 20 6c 69 6e |name) (q|uote lin|
|00000660| 65 2d 6e 75 6d 62 65 72 | 2d 6d 6f 64 65 29 29 20 |e-number|-mode)) |
|00000670| 28 23 24 20 2e 20 31 33 | 30 33 29 29 0a 28 6d 61 |(#$ . 13|03)).(ma|
|00000680| 6b 65 2d 76 61 72 69 61 | 62 6c 65 2d 62 75 66 66 |ke-varia|ble-buff|
|00000690| 65 72 2d 6c 6f 63 61 6c | 20 28 71 75 6f 74 65 20 |er-local| (quote |
|000006a0| 64 65 73 6b 74 6f 70 2d | 6c 6f 63 61 6c 73 2d 74 |desktop-|locals-t|
|000006b0| 6f 2d 73 61 76 65 29 29 | 0a 23 40 36 35 20 52 65 |o-save))|.#@65 Re|
|000006c0| 67 65 78 70 20 69 64 65 | 6e 74 69 66 79 69 6e 67 |gexp ide|ntifying|
|000006d0| 20 62 75 66 66 65 72 73 | 20 74 68 61 74 20 61 72 | buffers| that ar|
|000006e0| 65 20 74 6f 20 62 65 20 | 65 78 63 6c 75 64 65 64 |e to be |excluded|
|000006f0| 20 66 72 6f 6d 20 73 61 | 76 69 6e 67 2e 1f 0a 28 | from sa|ving...(|
|00000700| 64 65 66 76 61 72 20 64 | 65 73 6b 74 6f 70 2d 62 |defvar d|esktop-b|
|00000710| 75 66 66 65 72 73 2d 6e | 6f 74 2d 74 6f 2d 73 61 |uffers-n|ot-to-sa|
|00000720| 76 65 20 22 5c 5c 28 5e | 6e 6e 5c 5c 2e 61 5b 30 |ve "\\(^|nn\\.a[0|
|00000730| 2d 39 5d 2b 5c 5c 7c 5c | 5c 2e 6c 6f 67 5c 5c 7c |-9]+\\|\|\.log\\||
|00000740| 28 66 74 70 29 5c 5c 7c | 5e 74 61 67 73 5c 5c 7c |(ftp)\\||^tags\\||
|00000750| 5e 54 41 47 53 5c 5c 29 | 24 22 20 28 23 24 20 2e |^TAGS\\)|$" (#$ .|
|00000760| 20 31 37 32 36 29 29 0a | 23 40 37 32 20 52 65 67 | 1726)).|#@72 Reg|
|00000770| 65 78 70 20 69 64 65 6e | 74 69 66 79 69 6e 67 20 |exp iden|tifying |
|00000780| 66 69 6c 65 73 20 77 68 | 6f 73 65 20 62 75 66 66 |files wh|ose buff|
|00000790| 65 72 73 20 61 72 65 20 | 74 6f 20 62 65 20 65 78 |ers are |to be ex|
|000007a0| 63 6c 75 64 65 64 20 66 | 72 6f 6d 20 73 61 76 69 |cluded f|rom savi|
|000007b0| 6e 67 2e 1f 0a 28 64 65 | 66 76 61 72 20 64 65 73 |ng...(de|fvar des|
|000007c0| 6b 74 6f 70 2d 66 69 6c | 65 73 2d 6e 6f 74 2d 74 |ktop-fil|es-not-t|
|000007d0| 6f 2d 73 61 76 65 20 22 | 5e 2f 5b 5e 2f 3a 5d 2a |o-save "|^/[^/:]*|
|000007e0| 3a 22 20 28 23 24 20 2e | 20 31 39 30 31 29 29 0a |:" (#$ .| 1901)).|
|000007f0| 23 40 36 37 20 57 68 65 | 6e 20 64 65 73 6b 74 6f |#@67 Whe|n deskto|
|00000800| 70 20 63 72 65 61 74 65 | 73 20 61 20 62 75 66 66 |p create|s a buff|
|00000810| 65 72 2c 20 74 68 69 73 | 20 68 6f 6c 64 73 20 74 |er, this| holds t|
|00000820| 68 65 20 64 65 73 69 72 | 65 64 20 4d 61 6a 6f 72 |he desir|ed Major|
|00000830| 20 6d 6f 64 65 2e 1f 0a | 28 64 65 66 76 61 72 20 | mode...|(defvar |
|00000840| 64 65 73 6b 74 6f 70 2d | 62 75 66 66 65 72 2d 6d |desktop-|buffer-m|
|00000850| 61 6a 6f 72 2d 6d 6f 64 | 65 20 6e 69 6c 20 28 23 |ajor-mod|e nil (#|
|00000860| 24 20 2e 20 32 30 33 37 | 29 29 0a 23 40 36 37 20 |$ . 2037|)).#@67 |
|00000870| 57 68 65 6e 20 64 65 73 | 6b 74 6f 70 20 63 72 65 |When des|ktop cre|
|00000880| 61 74 65 73 20 61 20 62 | 75 66 66 65 72 2c 20 74 |ates a b|uffer, t|
|00000890| 68 69 73 20 68 6f 6c 64 | 73 20 74 68 65 20 66 69 |his hold|s the fi|
|000008a0| 6c 65 20 6e 61 6d 65 20 | 74 6f 20 76 69 73 69 74 |le name |to visit|
|000008b0| 2e 1f 0a 28 64 65 66 76 | 61 72 20 64 65 73 6b 74 |...(defv|ar deskt|
|000008c0| 6f 70 2d 62 75 66 66 65 | 72 2d 66 69 6c 65 2d 6e |op-buffe|r-file-n|
|000008d0| 61 6d 65 20 6e 69 6c 20 | 28 23 24 20 2e 20 32 31 |ame nil |(#$ . 21|
|000008e0| 36 30 29 29 0a 23 40 36 | 38 20 57 68 65 6e 20 64 |60)).#@6|8 When d|
|000008f0| 65 73 6b 74 6f 70 20 63 | 72 65 61 74 65 73 20 61 |esktop c|reates a|
|00000900| 20 62 75 66 66 65 72 2c | 20 74 68 69 73 20 68 6f | buffer,| this ho|
|00000910| 6c 64 73 20 74 68 65 20 | 64 65 73 69 72 65 64 20 |lds the |desired |
|00000920| 62 75 66 66 65 72 20 6e | 61 6d 65 2e 1f 0a 28 64 |buffer n|ame...(d|
|00000930| 65 66 76 61 72 20 64 65 | 73 6b 74 6f 70 2d 62 75 |efvar de|sktop-bu|
|00000940| 66 66 65 72 2d 6e 61 6d | 65 20 6e 69 6c 20 28 23 |ffer-nam|e nil (#|
|00000950| 24 20 2e 20 32 32 38 32 | 29 29 0a 23 40 31 31 39 |$ . 2282|)).#@119|
|00000960| 20 57 68 65 6e 20 64 65 | 73 6b 74 6f 70 20 63 72 | When de|sktop cr|
|00000970| 65 61 74 65 73 20 61 20 | 62 75 66 66 65 72 2c 20 |eates a |buffer, |
|00000980| 74 68 69 73 20 68 6f 6c | 64 73 20 61 20 6c 69 73 |this hol|ds a lis|
|00000990| 74 20 6f 66 20 6d 69 73 | 63 20 69 6e 66 6f 2e 0a |t of mis|c info..|
|000009a0| 49 74 20 69 73 20 75 73 | 65 64 20 62 79 20 74 68 |It is us|ed by th|
|000009b0| 65 20 60 64 65 73 6b 74 | 6f 70 2d 62 75 66 66 65 |e `deskt|op-buffe|
|000009c0| 72 2d 68 61 6e 64 6c 65 | 72 73 27 20 66 75 6e 63 |r-handle|rs' func|
|000009d0| 74 69 6f 6e 73 2e 1f 0a | 28 64 65 66 76 61 72 20 |tions...|(defvar |
|000009e0| 64 65 73 6b 74 6f 70 2d | 62 75 66 66 65 72 2d 6d |desktop-|buffer-m|
|000009f0| 69 73 63 20 6e 69 6c 20 | 28 23 24 20 2e 20 32 34 |isc nil |(#$ . 24|
|00000a00| 30 31 29 29 0a 23 40 33 | 34 37 20 2a 4c 69 73 74 |01)).#@3|47 *List|
|00000a10| 20 6f 66 20 66 75 6e 63 | 74 69 6f 6e 73 20 74 6f | of func|tions to|
|00000a20| 20 63 61 6c 6c 20 69 6e | 20 6f 72 64 65 72 20 74 | call in| order t|
|00000a30| 6f 20 63 72 65 61 74 65 | 20 61 20 62 75 66 66 65 |o create| a buffe|
|00000a40| 72 2e 0a 54 68 65 20 66 | 75 6e 63 74 69 6f 6e 73 |r..The f|unctions|
|00000a50| 20 61 72 65 20 63 61 6c | 6c 65 64 20 77 69 74 68 | are cal|led with|
|00000a60| 6f 75 74 20 65 78 70 6c | 69 63 69 74 20 70 61 72 |out expl|icit par|
|00000a70| 61 6d 65 74 65 72 73 20 | 62 75 74 20 63 61 6e 20 |ameters |but can |
|00000a80| 75 73 65 20 74 68 65 0a | 76 61 72 69 61 62 6c 65 |use the.|variable|
|00000a90| 73 20 60 64 65 73 6b 74 | 6f 70 2d 62 75 66 66 65 |s `deskt|op-buffe|
|00000aa0| 72 2d 6d 61 6a 6f 72 2d | 6d 6f 64 65 27 2c 20 60 |r-major-|mode', `|
|00000ab0| 64 65 73 6b 74 6f 70 2d | 62 75 66 66 65 72 2d 66 |desktop-|buffer-f|
|00000ac0| 69 6c 65 2d 6e 61 6d 65 | 27 2c 0a 60 64 65 73 6b |ile-name|',.`desk|
|00000ad0| 74 6f 70 2d 62 75 66 66 | 65 72 2d 6e 61 6d 65 27 |top-buff|er-name'|
|00000ae0| 2e 0a 49 66 20 6f 6e 65 | 20 66 75 6e 63 74 69 6f |..If one| functio|
|00000af0| 6e 20 72 65 74 75 72 6e | 73 20 6e 6f 6e 2d 6e 69 |n return|s non-ni|
|00000b00| 6c 2c 20 6e 6f 20 66 75 | 72 74 68 65 72 20 66 75 |l, no fu|rther fu|
|00000b10| 6e 63 74 69 6f 6e 73 20 | 61 72 65 20 63 61 6c 6c |nctions |are call|
|00000b20| 65 64 2e 0a 49 66 20 74 | 68 65 20 66 75 6e 63 74 |ed..If t|he funct|
|00000b30| 69 6f 6e 20 72 65 74 75 | 72 6e 73 20 74 20 74 68 |ion retu|rns t th|
|00000b40| 65 6e 20 74 68 65 20 62 | 75 66 66 65 72 20 69 73 |en the b|uffer is|
|00000b50| 20 63 6f 6e 73 69 64 65 | 72 65 64 20 63 72 65 61 | conside|red crea|
|00000b60| 74 65 64 2e 1f 0a 28 64 | 65 66 76 61 72 20 64 65 |ted...(d|efvar de|
|00000b70| 73 6b 74 6f 70 2d 62 75 | 66 66 65 72 2d 68 61 6e |sktop-bu|ffer-han|
|00000b80| 64 6c 65 72 73 20 28 71 | 75 6f 74 65 20 28 64 65 |dlers (q|uote (de|
|00000b90| 73 6b 74 6f 70 2d 62 75 | 66 66 65 72 2d 64 69 72 |sktop-bu|ffer-dir|
|00000ba0| 65 64 20 64 65 73 6b 74 | 6f 70 2d 62 75 66 66 65 |ed deskt|op-buffe|
|00000bb0| 72 2d 72 6d 61 69 6c 20 | 64 65 73 6b 74 6f 70 2d |r-rmail |desktop-|
|00000bc0| 62 75 66 66 65 72 2d 6d | 68 20 64 65 73 6b 74 6f |buffer-m|h deskto|
|00000bd0| 70 2d 62 75 66 66 65 72 | 2d 69 6e 66 6f 20 64 65 |p-buffer|-info de|
|00000be0| 73 6b 74 6f 70 2d 62 75 | 66 66 65 72 2d 66 69 6c |sktop-bu|ffer-fil|
|00000bf0| 65 29 29 20 28 23 24 20 | 2e 20 2d 32 35 37 31 29 |e)) (#$ |. -2571)|
|00000c00| 29 0a 23 40 34 36 20 4f | 70 65 6e 69 6e 67 20 6f |).#@46 O|pening o|
|00000c10| 66 20 66 6f 72 6d 20 66 | 6f 72 20 63 72 65 61 74 |f form f|or creat|
|00000c20| 69 6f 6e 20 6f 66 20 6e | 65 77 20 62 75 66 66 65 |ion of n|ew buffe|
|00000c30| 72 73 2e 1f 0a 28 64 65 | 66 76 61 72 20 64 65 73 |rs...(de|fvar des|
|00000c40| 6b 74 6f 70 2d 63 72 65 | 61 74 65 2d 62 75 66 66 |ktop-cre|ate-buff|
|00000c50| 65 72 2d 66 6f 72 6d 20 | 22 28 64 65 73 6b 74 6f |er-form |"(deskto|
|00000c60| 70 2d 63 72 65 61 74 65 | 2d 62 75 66 66 65 72 20 |p-create|-buffer |
|00000c70| 32 30 35 22 20 28 23 24 | 20 2e 20 33 30 37 39 29 |205" (#$| . 3079)|
|00000c80| 29 0a 23 40 39 32 20 48 | 6f 6f 6b 20 72 75 6e 20 |).#@92 H|ook run |
|00000c90| 62 65 66 6f 72 65 20 73 | 61 76 69 6e 67 20 74 68 |before s|aving th|
|00000ca0| 65 20 64 65 73 6b 74 6f | 70 20 74 6f 20 61 6c 6c |e deskto|p to all|
|00000cb0| 6f 77 20 79 6f 75 20 74 | 6f 20 63 75 74 20 68 69 |ow you t|o cut hi|
|00000cc0| 73 74 6f 72 79 20 6c 69 | 73 74 73 20 61 6e 64 0a |story li|sts and.|
|00000cd0| 74 68 65 20 6c 69 6b 65 | 20 73 68 6f 72 74 65 72 |the like| shorter|
|00000ce0| 2e 1f 0a 28 64 65 66 76 | 61 72 20 64 65 73 6b 74 |...(defv|ar deskt|
|00000cf0| 6f 70 2d 73 61 76 65 2d | 68 6f 6f 6b 20 6e 69 6c |op-save-|hook nil|
|00000d00| 20 28 23 24 20 2e 20 33 | 32 30 37 29 29 0a 23 40 | (#$ . 3|207)).#@|
|00000d10| 35 38 20 54 68 65 20 64 | 69 72 65 63 74 6f 72 79 |58 The d|irectory|
|00000d20| 20 69 6e 20 77 68 69 63 | 68 20 74 68 65 20 63 75 | in whic|h the cu|
|00000d30| 72 72 65 6e 74 20 64 65 | 73 6b 74 6f 70 20 66 69 |rrent de|sktop fi|
|00000d40| 6c 65 20 72 65 73 69 64 | 65 73 2e 1f 0a 28 64 65 |le resid|es...(de|
|00000d50| 66 76 61 72 20 64 65 73 | 6b 74 6f 70 2d 64 69 72 |fvar des|ktop-dir|
|00000d60| 6e 61 6d 65 20 6e 69 6c | 20 28 23 24 20 2e 20 33 |name nil| (#$ . 3|
|00000d70| 33 34 37 29 29 0a 23 40 | 33 35 20 2a 48 65 61 64 |347)).#@|35 *Head|
|00000d80| 65 72 20 74 6f 20 70 6c | 61 63 65 20 69 6e 20 44 |er to pl|ace in D|
|00000d90| 65 73 6b 74 6f 70 20 66 | 69 6c 65 2e 1f 0a 28 64 |esktop f|ile...(d|
|00000da0| 65 66 63 6f 6e 73 74 20 | 64 65 73 6b 74 6f 70 2d |efconst |desktop-|
|00000db0| 68 65 61 64 65 72 20 22 | 3b 3b 20 2d 2d 2d 2d 2d |header "|;; -----|
|00000dc0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000dd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000de0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000df0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000e00| 2d 2d 2d 2d 2d 5c 6e 3b | 3b 20 44 65 73 6b 74 6f |-----\n;|; Deskto|
|00000e10| 70 20 46 69 6c 65 20 66 | 6f 72 20 45 6d 61 63 73 |p File f|or Emacs|
|00000e20| 5c 6e 3b 3b 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |\n;; ---|--------|
|00000e30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000e40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000e50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000e60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 5c |--------|-------\|
|00000e70| 6e 22 20 28 23 24 20 2e | 20 2d 33 34 35 31 29 29 |n" (#$ .| -3451))|
|00000e80| 0a 23 40 36 38 20 48 6f | 6f 6b 73 20 72 75 6e 20 |.#@68 Ho|oks run |
|00000e90| 61 66 74 65 72 20 61 6c | 6c 20 62 75 66 66 65 72 |after al|l buffer|
|00000ea0| 73 20 61 72 65 20 6c 6f | 61 64 65 64 3b 20 69 6e |s are lo|aded; in|
|00000eb0| 74 65 6e 64 65 64 20 66 | 6f 72 20 69 6e 74 65 72 |tended f|or inter|
|00000ec0| 6e 61 6c 20 75 73 65 2e | 1f 0a 28 64 65 66 76 61 |nal use.|..(defva|
|00000ed0| 72 20 64 65 73 6b 74 6f | 70 2d 64 65 6c 61 79 2d |r deskto|p-delay-|
|00000ee0| 68 6f 6f 6b 20 6e 69 6c | 20 28 23 24 20 2e 20 33 |hook nil| (#$ . 3|
|00000ef0| 37 31 38 29 29 0a 23 40 | 35 32 20 54 72 75 6e 63 |718)).#@|52 Trunc|
|00000f00| 61 74 65 20 4c 49 53 54 | 20 74 6f 20 61 74 20 6d |ate LIST| to at m|
|00000f10| 6f 73 74 20 4e 20 65 6c | 65 6d 65 6e 74 73 20 64 |ost N el|ements d|
|00000f20| 65 73 74 72 75 63 74 69 | 76 65 6c 79 2e 1f 0a 28 |estructi|vely...(|
|00000f30| 64 65 66 61 6c 69 61 73 | 20 27 64 65 73 6b 74 6f |defalias| 'deskto|
|00000f40| 70 2d 74 72 75 6e 63 61 | 74 65 20 23 5b 28 6c 20 |p-trunca|te #[(l |
|00000f50| 6e 29 20 22 08 53 09 9b | 89 1a 3a 85 0d 00 5c 6e |n) ".S..|..:...\n|
|00000f60| c3 a1 29 87 22 20 5b 6e | 20 6c 20 68 65 72 65 20 |..)." [n| l here |
|00000f70| 6e 69 6c 5d 20 33 20 28 | 23 24 20 2e 20 33 38 33 |nil] 3 (|#$ . 383|
|00000f80| 35 29 5d 29 0a 23 40 32 | 30 20 45 6d 70 74 79 20 |5)]).#@2|0 Empty |
|00000f90| 74 68 65 20 44 65 73 6b | 74 6f 70 2e 1f 0a 28 64 |the Desk|top...(d|
|00000fa0| 65 66 61 6c 69 61 73 20 | 27 64 65 73 6b 74 6f 70 |efalias |'desktop|
|00000fb0| 2d 63 6c 65 61 72 20 23 | 5b 6e 69 6c 20 22 c0 11 |-clear #|[nil "..|
|00000fc0| c0 12 c0 13 c0 14 c0 15 | c0 16 06 c7 c8 c9 20 5c |........|...... \|
|00000fd0| 22 88 ca 20 87 22 20 5b | 6e 69 6c 20 6b 69 6c 6c |".. ." [|nil kill|
|00000fe0| 2d 72 69 6e 67 20 6b 69 | 6c 6c 2d 72 69 6e 67 2d |-ring ki|ll-ring-|
|00000ff0| 79 61 6e 6b 2d 70 6f 69 | 6e 74 65 72 20 73 65 61 |yank-poi|nter sea|
|00001000| 72 63 68 2d 72 69 6e 67 | 20 73 65 61 72 63 68 2d |rch-ring| search-|
|00001010| 72 69 6e 67 2d 79 61 6e | 6b 2d 70 6f 69 6e 74 65 |ring-yan|k-pointe|
|00001020| 72 20 72 65 67 65 78 70 | 2d 73 65 61 72 63 68 2d |r regexp|-search-|
|00001030| 72 69 6e 67 20 72 65 67 | 65 78 70 2d 73 65 61 72 |ring reg|exp-sear|
|00001040| 63 68 2d 72 69 6e 67 2d | 79 61 6e 6b 2d 70 6f 69 |ch-ring-|yank-poi|
|00001050| 6e 74 65 72 20 6d 61 70 | 63 61 72 20 6b 69 6c 6c |nter map|car kill|
|00001060| 2d 62 75 66 66 65 72 20 | 62 75 66 66 65 72 2d 6c |-buffer |buffer-l|
|00001070| 69 73 74 20 64 65 6c 65 | 74 65 2d 6f 74 68 65 72 |ist dele|te-other|
|00001080| 2d 77 69 6e 64 6f 77 73 | 5d 20 33 20 28 23 24 20 |-windows|] 3 (#$ |
|00001090| 2e 20 33 39 37 38 29 20 | 6e 69 6c 5d 29 0a 28 61 |. 3978) |nil]).(a|
|000010a0| 64 64 2d 68 6f 6f 6b 20 | 28 71 75 6f 74 65 20 6b |dd-hook |(quote k|
|000010b0| 69 6c 6c 2d 65 6d 61 63 | 73 2d 68 6f 6f 6b 29 20 |ill-emac|s-hook) |
|000010c0| 28 71 75 6f 74 65 20 64 | 65 73 6b 74 6f 70 2d 6b |(quote d|esktop-k|
|000010d0| 69 6c 6c 29 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |ill)).(d|efalias |
|000010e0| 27 64 65 73 6b 74 6f 70 | 2d 6b 69 6c 6c 20 23 5b |'desktop|-kill #[|
|000010f0| 6e 69 6c 20 22 08 85 08 | 00 c1 c2 c3 8f 87 22 20 |nil "...|......" |
|00001100| 5b 64 65 73 6b 74 6f 70 | 2d 64 69 72 6e 61 6d 65 |[desktop|-dirname|
|00001110| 20 65 72 72 20 28 64 65 | 73 6b 74 6f 70 2d 73 61 | err (de|sktop-sa|
|00001120| 76 65 20 64 65 73 6b 74 | 6f 70 2d 64 69 72 6e 61 |ve deskt|op-dirna|
|00001130| 6d 65 29 20 28 28 66 69 | 6c 65 2d 65 72 72 6f 72 |me) ((fi|le-error|
|00001140| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 c1 21 | (byte-c|ode "..!|
|00001150| 3f 85 0d 00 c2 0b 40 0b | 41 5c 22 87 22 20 5b 79 |?.....@.|A\"." [y|
|00001160| 65 73 2d 6f 72 2d 6e 6f | 2d 70 20 22 45 72 72 6f |es-or-no|-p "Erro|
|00001170| 72 20 77 68 69 6c 65 20 | 73 61 76 69 6e 67 20 74 |r while |saving t|
|00001180| 68 65 20 64 65 73 6b 74 | 6f 70 2e 20 20 51 75 69 |he deskt|op. Qui|
|00001190| 74 20 61 6e 79 77 61 79 | 3f 20 22 20 73 69 67 6e |t anyway|? " sign|
|000011a0| 61 6c 20 65 72 72 5d 20 | 33 29 29 29 5d 20 33 5d |al err] |3)))] 3]|
|000011b0| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 64 65 73 |).(defal|ias 'des|
|000011c0| 6b 74 6f 70 2d 6c 69 73 | 74 2a 20 23 5b 28 26 72 |ktop-lis|t* #[(&r|
|000011d0| 65 73 74 20 61 72 67 73 | 29 20 22 08 41 84 08 00 |est args|) ".A...|
|000011e0| 08 40 87 08 9f 89 10 41 | 40 08 40 42 19 08 41 41 |.@.....A|@.@B..AA|
|000011f0| 89 10 83 26 00 08 40 09 | 42 11 08 41 89 10 84 1a |...&..@.|B..A....|
|00001200| 00 09 29 87 22 20 5b 61 | 72 67 73 20 76 61 6c 75 |..)." [a|rgs valu|
|00001210| 65 5d 20 33 5d 29 0a 23 | 40 32 33 38 20 43 6f 6e |e] 3]).#|@238 Con|
|00001220| 76 65 72 74 20 56 41 4c | 55 45 20 74 6f 20 61 20 |vert VAL|UE to a |
|00001230| 70 61 69 72 20 28 51 55 | 4f 54 45 20 2e 20 54 58 |pair (QU|OTE . TX|
|00001240| 54 29 3b 20 28 65 76 61 | 6c 20 28 72 65 61 64 20 |T); (eva|l (read |
|00001250| 54 58 54 29 29 20 67 69 | 76 65 73 20 56 41 4c 55 |TXT)) gi|ves VALU|
|00001260| 45 2e 0a 54 58 54 20 69 | 73 20 61 20 73 74 72 69 |E..TXT i|s a stri|
|00001270| 6e 67 20 74 68 61 74 20 | 77 68 65 6e 20 72 65 61 |ng that |when rea|
|00001280| 64 20 61 6e 64 20 65 76 | 61 6c 75 61 74 65 64 20 |d and ev|aluated |
|00001290| 79 69 65 6c 64 73 20 76 | 61 6c 75 65 2e 0a 51 55 |yields v|alue..QU|
|000012a0| 4f 54 45 20 6d 61 79 20 | 62 65 20 60 6d 61 79 27 |OTE may |be `may'|
|000012b0| 20 28 76 61 6c 75 65 20 | 6d 61 79 20 62 65 20 71 | (value |may be q|
|000012c0| 75 6f 74 65 64 29 2c 0a | 60 6d 75 73 74 27 20 28 |uoted),.|`must' (|
|000012d0| 76 61 6c 75 65 73 20 6d | 75 73 74 20 62 65 20 71 |values m|ust be q|
|000012e0| 75 6f 74 65 64 29 2c 20 | 6f 72 20 6e 69 6c 20 28 |uoted), |or nil (|
|000012f0| 76 61 6c 75 65 20 6d 61 | 79 20 6e 6f 74 20 62 65 |value ma|y not be|
|00001300| 20 71 75 6f 74 65 64 29 | 2e 1f 0a 28 64 65 66 61 | quoted)|...(defa|
|00001310| 6c 69 61 73 20 27 64 65 | 73 6b 74 6f 70 2d 69 6e |lias 'de|sktop-in|
|00001320| 74 65 72 6e 61 6c 2d 76 | 32 73 20 23 5b 28 76 61 |ternal-v|2s #[(va|
|00001330| 6c 29 20 22 08 a7 84 0f | 00 08 83 0f 00 08 c1 3d |l) "....|.......=|
|00001340| 83 15 00 c2 c3 08 21 42 | 87 08 3b 83 2d 00 c4 08 |......!B|..;.-...|
|00001350| 21 1d c6 c7 0d 47 c8 0d | 24 88 c2 c3 0d 21 29 42 |!....G..|$....!)B|
|00001360| 87 08 39 83 38 00 c9 c3 | 08 21 42 87 ca 08 21 83 |..9.8...|.!B...!.|
|00001370| 67 00 c8 1e 0b cc cd 08 | 5c 22 1e 0e 0e 0b 83 5a |g.......|\".....Z|
|00001380| 00 c8 cf d0 d1 0e 0e d2 | 23 d3 51 42 82 65 00 c2 |........|#.QB.e..|
|00001390| d4 d0 d5 0e 0e d2 23 d6 | 51 42 2a 87 08 3a 83 ff |......#.|QB*..:..|
|000013a0| 00 08 c8 89 89 1e 17 1e | 18 1e 19 89 1e 1a 3a 83 |........|......:.|
|000013b0| a0 00 db 0e 1a 40 21 1e | 1c 0e 17 84 8f 00 0e 1c |.....@!.|........|
|000013c0| 40 3f 16 17 0e 1c 0e 19 | 42 16 19 29 0e 1a 41 89 |@?......|B..)..A.|
|000013d0| 16 1a 82 79 00 0e 1a 83 | d1 00 db 0e 1a 21 0e 19 |...y....|.....!..|
|000013e0| 40 1e 1d 1e 1e 0e 17 84 | bb 00 0e 1e 40 3f 16 17 |@.......|....@?..|
|000013f0| 0e 17 84 c6 00 df 0e 19 | 42 16 19 c1 16 18 0e 1e |........|B.......|
|00001400| 0e 19 42 16 19 2a 0e 19 | 9f 16 19 0e 17 83 f2 00 |..B..*..|........|
|00001410| c8 0e 18 83 e5 00 e0 82 | e6 00 e1 d0 e2 0e 19 d2 |........|........|
|00001420| 23 d3 51 42 82 fd 00 c9 | e3 d0 d5 0e 19 d2 23 d3 |#.QB....|......#.|
|00001430| 51 42 2c 87 e4 08 21 83 | 11 01 c8 e5 c3 08 21 e6 |QB,...!.|......!.|
|00001440| e7 4f d3 51 42 87 e8 08 | 21 83 36 01 c3 e9 08 21 |.O.QB...|!.6....!|
|00001450| 21 c3 ea eb 08 21 21 21 | 1e 2c 1e 2d c8 ee ef f0 |!....!!!|.,.-....|
|00001460| 0e 2d f1 0e 2c f2 b0 07 | 2a 42 87 c2 f3 42 87 22 |.-..,...|*B...B."|
|00001470| 20 5b 76 61 6c 20 74 20 | 6d 61 79 20 70 72 69 6e | [val t |may prin|
|00001480| 31 2d 74 6f 2d 73 74 72 | 69 6e 67 20 63 6f 70 79 |1-to-str|ing copy|
|00001490| 2d 73 65 71 75 65 6e 63 | 65 20 63 6f 70 79 20 73 |-sequenc|e copy s|
|000014a0| 65 74 2d 74 65 78 74 2d | 70 72 6f 70 65 72 74 69 |et-text-|properti|
|000014b0| 65 73 20 30 20 6e 69 6c | 20 6d 75 73 74 20 76 65 |es 0 nil| must ve|
|000014c0| 63 74 6f 72 70 20 73 70 | 65 63 69 61 6c 20 6d 61 |ctorp sp|ecial ma|
|000014d0| 70 63 61 72 20 23 5b 28 | 65 6c 29 20 22 c0 09 21 |pcar #[(|el) "..!|
|000014e0| 89 1a 40 84 0b 00 c3 14 | 5c 6e 29 87 22 20 5b 64 |..@.....|\n)." [d|
|000014f0| 65 73 6b 74 6f 70 2d 69 | 6e 74 65 72 6e 61 6c 2d |esktop-i|nternal-|
|00001500| 76 32 73 20 65 6c 20 72 | 65 73 20 74 20 73 70 65 |v2s el r|es t spe|
|00001510| 63 69 61 6c 5d 20 33 5d | 20 70 61 73 73 31 20 22 |cial] 3]| pass1 "|
|00001520| 28 76 65 63 74 6f 72 20 | 22 20 6d 61 70 63 6f 6e |(vector |" mapcon|
|00001530| 63 61 74 20 23 5b 28 65 | 6c 29 20 22 08 40 c1 3d |cat #[(e|l) ".@.=|
|00001540| 83 5c 66 00 c2 08 41 50 | 87 08 41 87 22 20 5b 65 |.\f...AP|..A." [e|
|00001550| 6c 20 6d 75 73 74 20 22 | 27 22 5d 20 32 5d 20 22 |l must "|'"] 2] "|
|00001560| 20 22 20 22 29 22 20 22 | 5b 22 20 63 64 72 20 22 | " ")" "|[" cdr "|
|00001570| 5d 22 20 61 6e 79 6e 69 | 6c 20 75 73 65 2d 6c 69 |]" anyni|l use-li|
|00001580| 73 74 2a 20 6e 65 77 6c | 69 73 74 20 70 20 64 65 |st* newl|ist p de|
|00001590| 73 6b 74 6f 70 2d 69 6e | 74 65 72 6e 61 6c 2d 76 |sktop-in|ternal-v|
|000015a0| 32 73 20 71 5c 2e 74 78 | 74 20 65 6c 20 6c 61 73 |2s q\.tx|t el las|
|000015b0| 74 20 28 6d 75 73 74 20 | 2e 20 22 2e 22 29 20 22 |t (must |. ".") "|
|000015c0| 28 64 65 73 6b 74 6f 70 | 2d 6c 69 73 74 2a 20 22 |(desktop|-list* "|
|000015d0| 20 22 28 6c 69 73 74 20 | 22 20 23 5b 28 65 6c 29 | "(list |" #[(el)|
|000015e0| 20 22 08 40 c1 3d 83 5c | 66 00 c2 08 41 50 87 08 | ".@.=.\|f...AP..|
|000015f0| 41 87 22 20 5b 65 6c 20 | 6d 75 73 74 20 22 27 22 |A." [el |must "'"|
|00001600| 5d 20 32 5d 20 22 28 22 | 20 73 75 62 72 70 20 22 |] 2] "("| subrp "|
|00001610| 28 73 79 6d 62 6f 6c 2d | 66 75 6e 63 74 69 6f 6e |(symbol-|function|
|00001620| 20 27 22 20 37 20 2d 31 | 20 6d 61 72 6b 65 72 70 | '" 7 -1| markerp|
|00001630| 20 6d 61 72 6b 65 72 2d | 70 6f 73 69 74 69 6f 6e | marker-|position|
|00001640| 20 62 75 66 66 65 72 2d | 6e 61 6d 65 20 6d 61 72 | buffer-|name mar|
|00001650| 6b 65 72 2d 62 75 66 66 | 65 72 20 62 75 66 20 70 |ker-buff|er buf p|
|00001660| 6f 73 20 22 28 6c 65 74 | 20 28 28 6d 6b 20 28 6d |os "(let| ((mk (m|
|00001670| 61 6b 65 2d 6d 61 72 6b | 65 72 29 29 29 22 20 22 |ake-mark|er)))" "|
|00001680| 20 28 61 64 64 2d 68 6f | 6f 6b 20 27 64 65 73 6b | (add-ho|ok 'desk|
|00001690| 74 6f 70 2d 64 65 6c 61 | 79 2d 68 6f 6f 6b 22 20 |top-dela|y-hook" |
|000016a0| 22 20 28 6c 69 73 74 20 | 27 6c 61 6d 62 64 61 20 |" (list |'lambda |
|000016b0| 27 28 29 20 28 6c 69 73 | 74 20 27 73 65 74 2d 6d |'() (lis|t 'set-m|
|000016c0| 61 72 6b 65 72 20 6d 6b | 20 22 20 22 20 28 67 65 |arker mk| " " (ge|
|000016d0| 74 2d 62 75 66 66 65 72 | 20 22 20 22 29 29 29 29 |t-buffer| " "))))|
|000016e0| 20 6d 6b 29 22 20 22 5c | 22 55 6e 70 72 69 6e 74 | mk)" "\|"Unprint|
|000016f0| 61 62 6c 65 20 65 6e 74 | 69 74 79 5c 22 22 5d 20 |able ent|ity\""] |
|00001700| 39 20 28 23 24 20 2e 20 | 34 36 33 37 29 5d 29 0a |9 (#$ . |4637)]).|
|00001710| 23 40 31 31 30 20 43 6f | 6e 76 65 72 74 20 56 41 |#@110 Co|nvert VA|
|00001720| 4c 55 45 20 74 6f 20 61 | 20 73 74 72 69 6e 67 20 |LUE to a| string |
|00001730| 74 68 61 74 20 77 68 65 | 6e 20 72 65 61 64 20 65 |that whe|n read e|
|00001740| 76 61 6c 75 61 74 65 73 | 20 74 6f 20 74 68 65 20 |valuates| to the |
|00001750| 73 61 6d 65 20 76 61 6c | 75 65 2e 0a 4e 6f 74 20 |same val|ue..Not |
|00001760| 61 6c 6c 20 74 79 70 65 | 73 20 6f 66 20 76 61 6c |all type|s of val|
|00001770| 75 65 73 20 61 72 65 20 | 73 75 70 70 6f 72 74 65 |ues are |supporte|
|00001780| 64 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 64 |d...(def|alias 'd|
|00001790| 65 73 6b 74 6f 70 2d 76 | 61 6c 75 65 2d 74 6f 2d |esktop-v|alue-to-|
|000017a0| 73 74 72 69 6e 67 20 23 | 5b 28 76 61 6c 29 20 22 |string #|[(val) "|
|000017b0| c0 19 c2 1b c4 0d 21 89 | 1e 06 40 1e 07 0e 06 41 |......!.|..@....A|
|000017c0| 1e 08 0e 07 c9 3d 83 20 | 00 ca 0e 08 50 82 5c 22 |.....=. |....P.\"|
|000017d0| 00 0e 08 2d 87 22 20 5b | 74 20 70 72 69 6e 74 2d |...-." [|t print-|
|000017e0| 65 73 63 61 70 65 2d 6e | 65 77 6c 69 6e 65 73 20 |escape-n|ewlines |
|000017f0| 6e 69 6c 20 66 6c 6f 61 | 74 2d 6f 75 74 70 75 74 |nil floa|t-output|
|00001800| 2d 66 6f 72 6d 61 74 20 | 64 65 73 6b 74 6f 70 2d |-format |desktop-|
|00001810| 69 6e 74 65 72 6e 61 6c | 2d 76 32 73 20 76 61 6c |internal|-v2s val|
|00001820| 20 71 75 6f 74 65 5c 2e | 74 78 74 20 71 75 6f 74 | quote\.|txt quot|
|00001830| 65 20 74 78 74 20 6d 75 | 73 74 20 22 27 22 5d 20 |e txt mu|st "'"] |
|00001840| 33 20 28 23 24 20 2e 20 | 35 39 31 30 29 5d 29 0a |3 (#$ . |5910)]).|
|00001850| 23 40 32 38 36 20 4f 75 | 74 70 75 74 20 61 20 73 |#@286 Ou|tput a s|
|00001860| 65 74 71 20 73 74 61 74 | 65 6d 65 6e 74 20 66 6f |etq stat|ement fo|
|00001870| 72 20 76 61 72 69 61 62 | 6c 65 20 56 41 52 20 74 |r variab|le VAR t|
|00001880| 6f 20 74 68 65 20 64 65 | 73 6b 74 6f 70 20 66 69 |o the de|sktop fi|
|00001890| 6c 65 2e 0a 54 68 65 20 | 61 72 67 75 6d 65 6e 74 |le..The |argument|
|000018a0| 20 56 41 52 53 50 45 43 | 20 6d 61 79 20 62 65 20 | VARSPEC| may be |
|000018b0| 74 68 65 20 76 61 72 69 | 61 62 6c 65 20 6e 61 6d |the vari|able nam|
|000018c0| 65 20 56 41 52 20 28 61 | 20 73 79 6d 62 6f 6c 29 |e VAR (a| symbol)|
|000018d0| 2c 0a 6f 72 20 61 20 63 | 6f 6e 73 20 63 65 6c 6c |,.or a c|ons cell|
|000018e0| 20 6f 66 20 74 68 65 20 | 66 6f 72 6d 20 20 28 56 | of the |form (V|
|000018f0| 41 52 20 2e 20 4d 41 58 | 2d 53 49 5a 45 29 2c 0a |AR . MAX|-SIZE),.|
|00001900| 77 68 69 63 68 20 6d 65 | 61 6e 73 20 74 6f 20 74 |which me|ans to t|
|00001910| 72 75 6e 63 61 74 65 20 | 56 41 52 27 73 20 76 61 |runcate |VAR's va|
|00001920| 6c 75 65 20 74 6f 20 61 | 74 20 6d 6f 73 74 20 4d |lue to a|t most M|
|00001930| 41 58 2d 53 49 5a 45 20 | 65 6c 65 6d 65 6e 74 73 |AX-SIZE |elements|
|00001940| 0a 28 69 66 20 74 68 65 | 20 76 61 6c 75 65 20 69 |.(if the| value i|
|00001950| 73 20 61 20 6c 69 73 74 | 29 20 62 65 66 6f 72 65 |s a list|) before|
|00001960| 20 73 61 76 69 6e 67 20 | 74 68 65 20 76 61 6c 75 | saving |the valu|
|00001970| 65 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 64 |e...(def|alias 'd|
|00001980| 65 73 6b 74 6f 70 2d 6f | 75 74 76 61 72 20 23 5b |esktop-o|utvar #[|
|00001990| 28 76 61 72 73 70 65 63 | 29 20 22 c0 89 19 1a 0b |(varspec|) ".....|
|000019a0| 3a 83 12 00 0b 40 12 0b | 41 11 82 14 00 0b 12 c4 |:....@..|A.......|
|000019b0| 5c 6e 21 85 3f 00 09 a8 | 83 33 00 09 c5 56 83 33 |\n!.?...|.3...V.3|
|000019c0| 00 c6 5c 6e 21 3c 83 33 | 00 c7 c6 5c 6e 21 09 5c |..\n!<.3|...\n!.\|
|000019d0| 22 88 c8 c9 5c 6e 21 ca | cb 5c 6e 4a 21 cc b1 05 |"...\n!.|.\nJ!...|
|000019e0| 2a 87 22 20 5b 6e 69 6c | 20 73 69 7a 65 20 76 61 |*." [nil| size va|
|000019f0| 72 20 76 61 72 73 70 65 | 63 20 62 6f 75 6e 64 70 |r varspe|c boundp|
|00001a00| 20 30 20 65 76 61 6c 20 | 64 65 73 6b 74 6f 70 2d | 0 eval |desktop-|
|00001a10| 74 72 75 6e 63 61 74 65 | 20 22 28 73 65 74 71 20 |truncate| "(setq |
|00001a20| 22 20 73 79 6d 62 6f 6c | 2d 6e 61 6d 65 20 22 20 |" symbol|-name " |
|00001a30| 22 20 64 65 73 6b 74 6f | 70 2d 76 61 6c 75 65 2d |" deskto|p-value-|
|00001a40| 74 6f 2d 73 74 72 69 6e | 67 20 22 29 5c 6e 22 5d |to-strin|g ")\n"]|
|00001a50| 20 35 20 28 23 24 20 2e | 20 36 32 33 30 29 5d 29 | 5 (#$ .| 6230)])|
|00001a60| 0a 23 40 31 36 38 20 52 | 65 74 75 72 6e 20 74 20 |.#@168 R|eturn t |
|00001a70| 69 66 20 74 68 65 20 64 | 65 73 6b 74 6f 70 20 73 |if the d|esktop s|
|00001a80| 68 6f 75 6c 64 20 72 65 | 63 6f 72 64 20 61 20 70 |hould re|cord a p|
|00001a90| 61 72 74 69 63 75 6c 61 | 72 20 62 75 66 66 65 72 |articula|r buffer|
|00001aa0| 20 66 6f 72 20 6e 65 78 | 74 20 73 74 61 72 74 75 | for nex|t startu|
|00001ab0| 70 2e 0a 46 49 4c 45 4e | 41 4d 45 20 69 73 20 74 |p..FILEN|AME is t|
|00001ac0| 68 65 20 76 69 73 69 74 | 65 64 20 66 69 6c 65 20 |he visit|ed file |
|00001ad0| 6e 61 6d 65 2c 20 42 55 | 46 4e 41 4d 45 20 69 73 |name, BU|FNAME is|
|00001ae0| 20 74 68 65 20 62 75 66 | 66 65 72 20 6e 61 6d 65 | the buf|fer name|
|00001af0| 2c 20 61 6e 64 0a 4d 4f | 44 45 20 69 73 20 74 68 |, and.MO|DE is th|
|00001b00| 65 20 6d 61 6a 6f 72 20 | 6d 6f 64 65 2e 1f 0a 28 |e major |mode...(|
|00001b10| 64 65 66 61 6c 69 61 73 | 20 27 64 65 73 6b 74 6f |defalias| 'deskto|
|00001b20| 70 2d 73 61 76 65 2d 62 | 75 66 66 65 72 2d 70 20 |p-save-b|uffer-p |
|00001b30| 23 5b 28 66 69 6c 65 6e | 61 6d 65 20 62 75 66 6e |#[(filen|ame bufn|
|00001b40| 61 6d 65 20 6d 6f 64 65 | 20 26 72 65 73 74 20 64 |ame mode| &rest d|
|00001b50| 75 6d 6d 79 29 20 22 c0 | 19 5c 6e 83 16 00 c3 5c |ummy) ".|.\n....\|
|00001b60| 66 0d 5c 22 84 16 00 c3 | 0e 06 5c 6e 5c 22 3f 86 |f.\"....|..\n\"?.|
|00001b70| 37 00 0e 07 c8 3d 83 2e | 00 8a c9 0d 21 71 88 c3 |7....=..|....!q..|
|00001b80| 0e 06 0e 5c 6e 5c 22 29 | 3f 86 37 00 5c 6e 3f 85 |...\n\")|?.7.\n?.|
|00001b90| 37 00 0e 07 cb 3e 29 87 | 22 20 5b 6e 69 6c 20 63 |7....>).|" [nil c|
|00001ba0| 61 73 65 2d 66 6f 6c 64 | 2d 73 65 61 72 63 68 20 |ase-fold|-search |
|00001bb0| 66 69 6c 65 6e 61 6d 65 | 20 73 74 72 69 6e 67 2d |filename| string-|
|00001bc0| 6d 61 74 63 68 20 64 65 | 73 6b 74 6f 70 2d 62 75 |match de|sktop-bu|
|00001bd0| 66 66 65 72 73 2d 6e 6f | 74 2d 74 6f 2d 73 61 76 |ffers-no|t-to-sav|
|00001be0| 65 20 62 75 66 6e 61 6d | 65 20 64 65 73 6b 74 6f |e bufnam|e deskto|
|00001bf0| 70 2d 66 69 6c 65 73 2d | 6e 6f 74 2d 74 6f 2d 73 |p-files-|not-to-s|
|00001c00| 61 76 65 20 6d 6f 64 65 | 20 64 69 72 65 64 2d 6d |ave mode| dired-m|
|00001c10| 6f 64 65 20 67 65 74 2d | 62 75 66 66 65 72 20 64 |ode get-|buffer d|
|00001c20| 65 66 61 75 6c 74 2d 64 | 69 72 65 63 74 6f 72 79 |efault-d|irectory|
|00001c30| 20 28 49 6e 66 6f 2d 6d | 6f 64 65 20 72 6d 61 69 | (Info-m|ode rmai|
|00001c40| 6c 2d 6d 6f 64 65 29 5d | 20 33 20 28 23 24 20 2e |l-mode)]| 3 (#$ .|
|00001c50| 20 36 37 35 39 29 5d 29 | 0a 23 40 37 36 20 53 61 | 6759)])|.#@76 Sa|
|00001c60| 76 65 20 74 68 65 20 44 | 65 73 6b 74 6f 70 20 66 |ve the D|esktop f|
|00001c70| 69 6c 65 2e 20 20 50 61 | 72 61 6d 65 74 65 72 20 |ile. Pa|rameter |
|00001c80| 44 49 52 4e 41 4d 45 20 | 73 70 65 63 69 66 69 65 |DIRNAME |specifie|
|00001c90| 73 20 77 68 65 72 65 20 | 74 6f 20 73 61 76 65 20 |s where |to save |
|00001ca0| 64 65 73 6b 74 6f 70 2e | 1f 0a 28 64 65 66 61 6c |desktop.|..(defal|
|00001cb0| 69 61 73 20 27 64 65 73 | 6b 74 6f 70 2d 73 61 76 |ias 'des|ktop-sav|
|00001cc0| 65 20 23 5b 28 64 69 72 | 6e 61 6d 65 29 20 22 c0 |e #[(dir|name) ".|
|00001cd0| c1 21 88 8a c2 0b 5c 66 | 50 21 c5 c6 c7 20 5c 22 |.!....\f|P!... \"|
|00001ce0| 9f c8 c9 21 1e 5c 6e 1e | 0b 1e 5c 66 0e 5c 6e 71 |...!.\n.|..\f.\nq|
|00001cf0| 88 cd 20 88 0e 0e cf d0 | 20 d1 d2 0e 13 d4 d5 b1 |.. .....| .......|
|00001d00| 08 88 c5 d6 0e 17 5c 22 | 88 d8 0e 17 3e 83 49 00 |......\"|....>.I.|
|00001d10| d9 da 0e 18 47 0e 1b 47 | 5a 21 dc b1 03 88 dd 63 |....G..G|Z!.....c|
|00001d20| 88 c5 de 0e 0b 5c 22 88 | 0b 16 1f e0 0e 5c 66 21 |.....\".|.....\f!|
|00001d30| 83 61 00 e1 0e 5c 66 21 | 88 e2 65 64 0e 5c 66 e3 |.a...\f!|..ed.\f.|
|00001d40| e4 25 88 2c 0b 89 16 25 | 87 22 20 5b 72 75 6e 2d |.%.,...%|." [run-|
|00001d50| 68 6f 6f 6b 73 20 64 65 | 73 6b 74 6f 70 2d 73 61 |hooks de|sktop-sa|
|00001d60| 76 65 2d 68 6f 6f 6b 20 | 65 78 70 61 6e 64 2d 66 |ve-hook |expand-f|
|00001d70| 69 6c 65 2d 6e 61 6d 65 | 20 64 69 72 6e 61 6d 65 |ile-name| dirname|
|00001d80| 20 64 65 73 6b 74 6f 70 | 2d 62 61 73 65 66 69 6c | desktop|-basefil|
|00001d90| 65 6e 61 6d 65 20 6d 61 | 70 63 61 72 20 23 5b 28 |ename ma|pcar #[(|
|00001da0| 62 29 20 22 08 71 88 c1 | 20 c2 20 0b 5c 66 3f 3f |b) ".q..| . .\f??|
|00001db0| 43 60 c5 c6 21 0e 07 44 | 0e 08 0b c9 3d 83 23 00 |C`..!..D|....=.#.|
|00001dc0| 0e 5c 6e 0e 0b 44 82 35 | 00 0b cc 3d 85 35 00 cd |.\n..D.5|...=.5..|
|00001dd0| 0e 0e 21 cf d0 0e 11 5c | 22 9f 41 42 0e 12 d3 20 |..!....\|".AB... |
|00001de0| d4 1e 15 1e 16 89 1e 17 | 83 75 00 0e 17 40 0e 16 |........|.u...@..|
|00001df0| 9e 89 1e 18 83 5a 00 0e | 18 0e 15 42 16 15 82 6b |.....Z..|...B...k|
|00001e00| 00 0e 17 40 0e 16 9d 83 | 6b 00 0e 17 40 0e 15 42 |...@....|k...@..B|
|00001e10| 16 15 29 0e 17 41 89 16 | 17 84 44 00 0e 15 2b af |..)..A..|..D...+.|
|00001e20| 09 87 22 20 5b 62 20 62 | 75 66 66 65 72 2d 66 69 |.." [b b|uffer-fi|
|00001e30| 6c 65 2d 6e 61 6d 65 20 | 62 75 66 66 65 72 2d 6e |le-name |buffer-n|
|00001e40| 61 6d 65 20 6d 61 6a 6f | 72 2d 6d 6f 64 65 20 61 |ame majo|r-mode a|
|00001e50| 75 74 6f 2d 66 69 6c 6c | 2d 66 75 6e 63 74 69 6f |uto-fill|-functio|
|00001e60| 6e 20 6d 61 72 6b 20 74 | 20 6d 61 72 6b 2d 61 63 |n mark t| mark-ac|
|00001e70| 74 69 76 65 20 62 75 66 | 66 65 72 2d 72 65 61 64 |tive buf|fer-read|
|00001e80| 2d 6f 6e 6c 79 20 49 6e | 66 6f 2d 6d 6f 64 65 20 |-only In|fo-mode |
|00001e90| 49 6e 66 6f 2d 63 75 72 | 72 65 6e 74 2d 66 69 6c |Info-cur|rent-fil|
|00001ea0| 65 20 49 6e 66 6f 2d 63 | 75 72 72 65 6e 74 2d 6e |e Info-c|urrent-n|
|00001eb0| 6f 64 65 20 64 69 72 65 | 64 2d 6d 6f 64 65 20 65 |ode dire|d-mode e|
|00001ec0| 78 70 61 6e 64 2d 66 69 | 6c 65 2d 6e 61 6d 65 20 |xpand-fi|le-name |
|00001ed0| 64 69 72 65 64 2d 64 69 | 72 65 63 74 6f 72 79 20 |dired-di|rectory |
|00001ee0| 6d 61 70 63 61 72 20 63 | 61 72 20 64 69 72 65 64 |mapcar c|ar dired|
|00001ef0| 2d 73 75 62 64 69 72 2d | 61 6c 69 73 74 20 64 65 |-subdir-|alist de|
|00001f00| 73 6b 74 6f 70 2d 6c 6f | 63 61 6c 73 2d 74 6f 2d |sktop-lo|cals-to-|
|00001f10| 73 61 76 65 20 62 75 66 | 66 65 72 2d 6c 6f 63 61 |save buf|fer-loca|
|00001f20| 6c 2d 76 61 72 69 61 62 | 6c 65 73 20 6e 69 6c 20 |l-variab|les nil |
|00001f30| 6c 6c 20 6c 6f 63 6c 69 | 73 74 20 6c 6f 63 61 6c |ll locli|st local|
|00001f40| 73 20 68 65 72 65 5d 20 | 31 32 5d 20 62 75 66 66 |s here] |12] buff|
|00001f50| 65 72 2d 6c 69 73 74 20 | 67 65 74 2d 62 75 66 66 |er-list |get-buff|
|00001f60| 65 72 2d 63 72 65 61 74 | 65 20 22 2a 64 65 73 6b |er-creat|e "*desk|
|00001f70| 74 6f 70 2a 22 20 62 75 | 66 20 69 6e 66 6f 20 66 |top*" bu|f info f|
|00001f80| 69 6c 65 6e 61 6d 65 20 | 65 72 61 73 65 2d 62 75 |ilename |erase-bu|
|00001f90| 66 66 65 72 20 64 65 73 | 6b 74 6f 70 2d 68 65 61 |ffer des|ktop-hea|
|00001fa0| 64 65 72 20 22 3b 3b 20 | 43 72 65 61 74 65 64 20 |der ";; |Created |
|00001fb0| 22 20 63 75 72 72 65 6e | 74 2d 74 69 6d 65 2d 73 |" curren|t-time-s|
|00001fc0| 74 72 69 6e 67 20 22 5c | 6e 22 20 22 3b 3b 20 45 |tring "\|n" ";; E|
|00001fd0| 6d 61 63 73 20 76 65 72 | 73 69 6f 6e 20 22 20 65 |macs ver|sion " e|
|00001fe0| 6d 61 63 73 2d 76 65 72 | 73 69 6f 6e 20 22 5c 6e |macs-ver|sion "\n|
|00001ff0| 5c 6e 22 20 22 3b 3b 20 | 47 6c 6f 62 61 6c 20 73 |\n" ";; |Global s|
|00002000| 65 63 74 69 6f 6e 3a 5c | 6e 22 20 64 65 73 6b 74 |ection:\|n" deskt|
|00002010| 6f 70 2d 6f 75 74 76 61 | 72 20 64 65 73 6b 74 6f |op-outva|r deskto|
|00002020| 70 2d 67 6c 6f 62 61 6c | 73 2d 74 6f 2d 73 61 76 |p-global|s-to-sav|
|00002030| 65 20 6b 69 6c 6c 2d 72 | 69 6e 67 20 22 28 73 65 |e kill-r|ing "(se|
|00002040| 74 71 20 6b 69 6c 6c 2d | 72 69 6e 67 2d 79 61 6e |tq kill-|ring-yan|
|00002050| 6b 2d 70 6f 69 6e 74 65 | 72 20 28 6e 74 68 63 64 |k-pointe|r (nthcd|
|00002060| 72 20 22 20 69 6e 74 2d | 74 6f 2d 73 74 72 69 6e |r " int-|to-strin|
|00002070| 67 20 6b 69 6c 6c 2d 72 | 69 6e 67 2d 79 61 6e 6b |g kill-r|ing-yank|
|00002080| 2d 70 6f 69 6e 74 65 72 | 20 22 20 6b 69 6c 6c 2d |-pointer| " kill-|
|00002090| 72 69 6e 67 29 29 5c 6e | 22 20 22 5c 6e 3b 3b 20 |ring))\n|" "\n;; |
|000020a0| 42 75 66 66 65 72 20 73 | 65 63 74 69 6f 6e 3a 5c |Buffer s|ection:\|
|000020b0| 6e 22 20 23 5b 28 6c 29 | 20 22 c0 c1 5c 6e 5c 22 |n" #[(l)| "..\n\"|
|000020c0| 85 11 00 0b 63 88 c4 c5 | 5c 6e 5c 22 88 c6 63 87 |....c...|\n\"..c.|
|000020d0| 22 20 5b 61 70 70 6c 79 | 20 64 65 73 6b 74 6f 70 |" [apply| desktop|
|000020e0| 2d 73 61 76 65 2d 62 75 | 66 66 65 72 2d 70 20 6c |-save-bu|ffer-p l|
|000020f0| 20 64 65 73 6b 74 6f 70 | 2d 63 72 65 61 74 65 2d | desktop|-create-|
|00002100| 62 75 66 66 65 72 2d 66 | 6f 72 6d 20 6d 61 70 63 |buffer-f|orm mapc|
|00002110| 61 72 20 23 5b 28 65 29 | 20 22 c0 c1 5c 6e 21 b1 |ar #[(e)| "..\n!.|
|00002120| 02 87 22 20 5b 22 5c 6e | 20 20 22 20 64 65 73 6b |.." ["\n| " desk|
|00002130| 74 6f 70 2d 76 61 6c 75 | 65 2d 74 6f 2d 73 74 72 |top-valu|e-to-str|
|00002140| 69 6e 67 20 65 5d 20 33 | 5d 20 22 29 5c 6e 5c 6e |ing e] 3|] ")\n\n|
|00002150| 22 5d 20 33 5d 20 64 65 | 66 61 75 6c 74 2d 64 69 |"] 3] de|fault-di|
|00002160| 72 65 63 74 6f 72 79 20 | 66 69 6c 65 2d 65 78 69 |rectory |file-exi|
|00002170| 73 74 73 2d 70 20 64 65 | 6c 65 74 65 2d 66 69 6c |sts-p de|lete-fil|
|00002180| 65 20 77 72 69 74 65 2d | 72 65 67 69 6f 6e 20 6e |e write-|region n|
|00002190| 69 6c 20 6e 6f 6d 65 73 | 73 61 67 65 20 64 65 73 |il nomes|sage des|
|000021a0| 6b 74 6f 70 2d 64 69 72 | 6e 61 6d 65 5d 20 38 20 |ktop-dir|name] 8 |
|000021b0| 28 23 24 20 2e 20 37 32 | 36 32 29 20 22 44 44 69 |(#$ . 72|62) "DDi|
|000021c0| 72 65 63 74 6f 72 79 20 | 74 6f 20 73 61 76 65 20 |rectory |to save |
|000021d0| 64 65 73 6b 74 6f 70 20 | 66 69 6c 65 20 69 6e 3a |desktop |file in:|
|000021e0| 20 22 5d 29 0a 23 40 36 | 30 20 44 65 6c 65 74 65 | "]).#@6|0 Delete|
|000021f0| 20 74 68 65 20 44 65 73 | 6b 74 6f 70 20 66 69 6c | the Des|ktop fil|
|00002200| 65 20 61 6e 64 20 69 6e | 61 63 74 69 76 61 74 65 |e and in|activate|
|00002210| 20 74 68 65 20 64 65 73 | 6b 74 6f 70 20 73 79 73 | the des|ktop sys|
|00002220| 74 65 6d 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |tem...(d|efalias |
|00002230| 27 64 65 73 6b 74 6f 70 | 2d 72 65 6d 6f 76 65 20 |'desktop|-remove |
|00002240| 23 5b 6e 69 6c 20 22 08 | 85 14 00 08 09 50 1a c3 |#[nil ".|.....P..|
|00002250| 10 c4 5c 6e 21 85 13 00 | c5 5c 6e 21 29 87 22 20 |..\n!...|.\n!)." |
|00002260| 5b 64 65 73 6b 74 6f 70 | 2d 64 69 72 6e 61 6d 65 |[desktop|-dirname|
|00002270| 20 64 65 73 6b 74 6f 70 | 2d 62 61 73 65 66 69 6c | desktop|-basefil|
|00002280| 65 6e 61 6d 65 20 66 69 | 6c 65 6e 61 6d 65 20 6e |ename fi|lename n|
|00002290| 69 6c 20 66 69 6c 65 2d | 65 78 69 73 74 73 2d 70 |il file-|exists-p|
|000022a0| 20 64 65 6c 65 74 65 2d | 66 69 6c 65 5d 20 32 20 | delete-|file] 2 |
|000022b0| 28 23 24 20 2e 20 38 36 | 38 32 29 20 6e 69 6c 5d |(#$ . 86|82) nil]|
|000022c0| 29 0a 23 40 31 30 34 20 | 52 65 61 64 20 74 68 65 |).#@104 |Read the|
|000022d0| 20 44 65 73 6b 74 6f 70 | 20 66 69 6c 65 20 61 6e | Desktop| file an|
|000022e0| 64 20 74 68 65 20 66 69 | 6c 65 73 20 69 74 20 73 |d the fi|les it s|
|000022f0| 70 65 63 69 66 69 65 73 | 2e 0a 54 68 69 73 20 69 |pecifies|..This i|
|00002300| 73 20 61 20 6e 6f 2d 6f | 70 20 77 68 65 6e 20 45 |s a no-o|p when E|
|00002310| 6d 61 63 73 20 69 73 20 | 72 75 6e 6e 69 6e 67 20 |macs is |running |
|00002320| 69 6e 20 62 61 74 63 68 | 20 6d 6f 64 65 2e 1f 0a |in batch| mode...|
|00002330| 28 64 65 66 61 6c 69 61 | 73 20 27 64 65 73 6b 74 |(defalia|s 'deskt|
|00002340| 6f 70 2d 72 65 61 64 20 | 23 5b 6e 69 6c 20 22 08 |op-read |#[nil ".|
|00002350| 3f 85 41 00 c1 1a c3 c4 | 0d 5c 6e 40 5c 22 21 84 |?.A.....|.\n@\"!.|
|00002360| 18 00 5c 6e 41 89 12 84 | 07 00 5c 6e 85 20 00 c4 |..\nA...|..\n. ..|
|00002370| 5c 6e 40 21 89 16 06 83 | 3e 00 c7 c4 0d 0e 06 5c |\n@!....|>......\|
|00002380| 22 c8 89 89 24 88 c9 ca | 21 88 cb 16 5c 6e cc cd |"...$...|!...\n..|
|00002390| 21 82 40 00 ce 20 29 87 | 22 20 5b 6e 6f 6e 69 6e |!.@.. ).|" [nonin|
|000023a0| 74 65 72 61 63 74 69 76 | 65 20 28 22 2e 2f 22 20 |teractiv|e ("./" |
|000023b0| 22 7e 2f 22 29 20 64 69 | 72 73 20 66 69 6c 65 2d |"~/") di|rs file-|
|000023c0| 65 78 69 73 74 73 2d 70 | 20 65 78 70 61 6e 64 2d |exists-p| expand-|
|000023d0| 66 69 6c 65 2d 6e 61 6d | 65 20 64 65 73 6b 74 6f |file-nam|e deskto|
|000023e0| 70 2d 62 61 73 65 66 69 | 6c 65 6e 61 6d 65 20 64 |p-basefi|lename d|
|000023f0| 65 73 6b 74 6f 70 2d 64 | 69 72 6e 61 6d 65 20 6c |esktop-d|irname l|
|00002400| 6f 61 64 20 74 20 72 75 | 6e 2d 68 6f 6f 6b 73 20 |oad t ru|n-hooks |
|00002410| 64 65 73 6b 74 6f 70 2d | 64 65 6c 61 79 2d 68 6f |desktop-|delay-ho|
|00002420| 6f 6b 20 6e 69 6c 20 6d | 65 73 73 61 67 65 20 22 |ok nil m|essage "|
|00002430| 44 65 73 6b 74 6f 70 20 | 6c 6f 61 64 65 64 2e 22 |Desktop |loaded."|
|00002440| 20 64 65 73 6b 74 6f 70 | 2d 63 6c 65 61 72 5d 20 | desktop|-clear] |
|00002450| 36 20 28 23 24 20 2e 20 | 38 39 30 34 29 20 6e 69 |6 (#$ . |8904) ni|
|00002460| 6c 5d 29 0a 23 40 31 36 | 35 20 4c 6f 61 64 20 74 |l]).#@16|5 Load t|
|00002470| 68 65 20 60 64 65 66 61 | 75 6c 74 27 20 73 74 61 |he `defa|ult' sta|
|00002480| 72 74 2d 75 70 20 6c 69 | 62 72 61 72 79 20 6d 61 |rt-up li|brary ma|
|00002490| 6e 75 61 6c 6c 79 2e 0a | 41 6c 73 6f 20 69 6e 68 |nually..|Also inh|
|000024a0| 69 62 69 74 20 66 75 72 | 74 68 65 72 20 6c 6f 61 |ibit fur|ther loa|
|000024b0| 64 69 6e 67 20 6f 66 20 | 69 74 2e 20 20 43 61 6c |ding of |it. Cal|
|000024c0| 6c 20 74 68 69 73 20 66 | 72 6f 6d 20 79 6f 75 72 |l this f|rom your|
|000024d0| 20 60 2e 65 6d 61 63 73 | 27 20 66 69 6c 65 0a 74 | `.emacs|' file.t|
|000024e0| 6f 20 70 72 6f 76 69 64 | 65 20 63 6f 72 72 65 63 |o provid|e correc|
|000024f0| 74 20 6d 6f 64 65 73 20 | 66 6f 72 20 61 75 74 6f |t modes |for auto|
|00002500| 6c 6f 61 64 65 64 20 66 | 69 6c 65 73 2e 1f 0a 28 |loaded f|iles...(|
|00002510| 64 65 66 61 6c 69 61 73 | 20 27 64 65 73 6b 74 6f |defalias| 'deskto|
|00002520| 70 2d 6c 6f 61 64 2d 64 | 65 66 61 75 6c 74 20 23 |p-load-d|efault #|
|00002530| 5b 6e 69 6c 20 22 08 3f | 85 0e 00 c1 c2 c3 89 23 |[nil ".?|.......#|
|00002540| 88 c3 89 10 87 22 20 5b | 69 6e 68 69 62 69 74 2d |....." [|inhibit-|
|00002550| 64 65 66 61 75 6c 74 2d | 69 6e 69 74 20 6c 6f 61 |default-|init loa|
|00002560| 64 20 22 64 65 66 61 75 | 6c 74 22 20 74 5d 20 34 |d "defau|lt" t] 4|
|00002570| 20 28 23 24 20 2e 20 39 | 33 32 32 29 5d 29 0a 23 | (#$ . 9|322)]).#|
|00002580| 40 32 30 20 4c 6f 61 64 | 20 61 6e 20 69 6e 66 6f |@20 Load| an info|
|00002590| 20 66 69 6c 65 2e 1f 0a | 28 64 65 66 61 6c 69 61 | file...|(defalia|
|000025a0| 73 20 27 64 65 73 6b 74 | 6f 70 2d 62 75 66 66 65 |s 'deskt|op-buffe|
|000025b0| 72 2d 69 6e 66 6f 20 23 | 5b 6e 69 6c 20 22 08 c1 |r-info #|[nil "..|
|000025c0| 3d 85 13 00 c2 c3 21 88 | c4 0d 40 0d 41 40 5c 22 |=.....!.|..@.A@\"|
|000025d0| 88 c6 87 22 20 5b 64 65 | 73 6b 74 6f 70 2d 62 75 |..." [de|sktop-bu|
|000025e0| 66 66 65 72 2d 6d 61 6a | 6f 72 2d 6d 6f 64 65 20 |ffer-maj|or-mode |
|000025f0| 49 6e 66 6f 2d 6d 6f 64 | 65 20 72 65 71 75 69 72 |Info-mod|e requir|
|00002600| 65 20 69 6e 66 6f 20 49 | 6e 66 6f 2d 66 69 6e 64 |e info I|nfo-find|
|00002610| 2d 6e 6f 64 65 20 64 65 | 73 6b 74 6f 70 2d 62 75 |-node de|sktop-bu|
|00002620| 66 66 65 72 2d 6d 69 73 | 63 20 74 5d 20 33 20 28 |ffer-mis|c t] 3 (|
|00002630| 23 24 20 2e 20 39 36 30 | 34 29 5d 29 0a 23 40 32 |#$ . 960|4)]).#@2|
|00002640| 31 20 4c 6f 61 64 20 61 | 6e 20 52 4d 41 49 4c 20 |1 Load a|n RMAIL |
|00002650| 66 69 6c 65 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |file...(|defalias|
|00002660| 20 27 64 65 73 6b 74 6f | 70 2d 62 75 66 66 65 72 | 'deskto|p-buffer|
|00002670| 2d 72 6d 61 69 6c 20 23 | 5b 6e 69 6c 20 22 08 c1 |-rmail #|[nil "..|
|00002680| 3d 85 5c 6e 00 c2 c3 c4 | 8f 87 22 20 5b 64 65 73 |=.\n....|.." [des|
|00002690| 6b 74 6f 70 2d 62 75 66 | 66 65 72 2d 6d 61 6a 6f |ktop-buf|fer-majo|
|000026a0| 72 2d 6d 6f 64 65 20 72 | 6d 61 69 6c 2d 6d 6f 64 |r-mode r|mail-mod|
|000026b0| 65 20 65 72 72 6f 72 20 | 28 62 79 74 65 2d 63 6f |e error |(byte-co|
|000026c0| 64 65 20 22 c0 09 21 88 | c2 87 22 20 5b 72 6d 61 |de "..!.|.." [rma|
|000026d0| 69 6c 2d 69 6e 70 75 74 | 20 64 65 73 6b 74 6f 70 |il-input| desktop|
|000026e0| 2d 62 75 66 66 65 72 2d | 66 69 6c 65 2d 6e 61 6d |-buffer-|file-nam|
|000026f0| 65 20 74 5d 20 32 29 20 | 28 28 66 69 6c 65 2d 6c |e t] 2) |((file-l|
|00002700| 6f 63 6b 65 64 20 28 62 | 79 74 65 2d 63 6f 64 65 |ocked (b|yte-code|
|00002710| 20 22 c0 70 21 88 c1 87 | 22 20 5b 6b 69 6c 6c 2d | ".p!...|" [kill-|
|00002720| 62 75 66 66 65 72 20 69 | 67 6e 6f 72 65 64 5d 20 |buffer i|gnored] |
|00002730| 32 29 29 29 5d 20 33 20 | 28 23 24 20 2e 20 39 37 |2)))] 3 |(#$ . 97|
|00002740| 39 34 29 5d 29 0a 23 40 | 33 33 20 4c 6f 61 64 20 |94)]).#@|33 Load |
|00002750| 61 20 66 6f 6c 64 65 72 | 20 69 6e 20 74 68 65 20 |a folder| in the |
|00002760| 6d 68 20 73 79 73 74 65 | 6d 2e 1f 0a 28 64 65 66 |mh syste|m...(def|
|00002770| 61 6c 69 61 73 20 27 64 | 65 73 6b 74 6f 70 2d 62 |alias 'd|esktop-b|
|00002780| 75 66 66 65 72 2d 6d 68 | 20 23 5b 6e 69 6c 20 22 |uffer-mh| #[nil "|
|00002790| 08 c1 3d 85 13 00 c2 c3 | 21 88 c4 20 88 c5 0e 06 |..=.....|!.. ....|
|000027a0| 21 88 c7 87 22 20 5b 64 | 65 73 6b 74 6f 70 2d 62 |!..." [d|esktop-b|
|000027b0| 75 66 66 65 72 2d 6d 61 | 6a 6f 72 2d 6d 6f 64 65 |uffer-ma|jor-mode|
|000027c0| 20 6d 68 2d 66 6f 6c 64 | 65 72 2d 6d 6f 64 65 20 | mh-fold|er-mode |
|000027d0| 72 65 71 75 69 72 65 20 | 6d 68 2d 65 20 6d 68 2d |require |mh-e mh-|
|000027e0| 66 69 6e 64 2d 70 61 74 | 68 20 6d 68 2d 76 69 73 |find-pat|h mh-vis|
|000027f0| 69 74 2d 66 6f 6c 64 65 | 72 20 64 65 73 6b 74 6f |it-folde|r deskto|
|00002800| 70 2d 62 75 66 66 65 72 | 2d 6e 61 6d 65 20 74 5d |p-buffer|-name t]|
|00002810| 20 32 20 28 23 24 20 2e | 20 31 30 30 35 39 29 5d | 2 (#$ .| 10059)]|
|00002820| 29 0a 23 40 33 31 20 4c | 6f 61 64 20 61 20 64 69 |).#@31 L|oad a di|
|00002830| 72 65 63 74 6f 72 79 20 | 75 73 69 6e 67 20 64 69 |rectory |using di|
|00002840| 72 65 64 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |red...(d|efalias |
|00002850| 27 64 65 73 6b 74 6f 70 | 2d 62 75 66 66 65 72 2d |'desktop|-buffer-|
|00002860| 64 69 72 65 64 20 23 5b | 6e 69 6c 20 22 08 c1 3d |dired #[|nil "..=|
|00002870| 85 27 00 c2 c3 5c 66 40 | 21 21 83 1c 00 c5 5c 66 |.'...\f@|!!....\f|
|00002880| 40 21 88 c6 c7 5c 66 41 | 5c 22 88 c8 87 c9 ca 5c |@!...\fA|\".....\|
|00002890| 66 40 5c 22 88 cb cc 21 | 88 cd 87 22 20 5b 64 65 |f@\"...!|..." [de|
|000028a0| 73 6b 74 6f 70 2d 62 75 | 66 66 65 72 2d 6d 61 6a |sktop-bu|ffer-maj|
|000028b0| 6f 72 2d 6d 6f 64 65 20 | 64 69 72 65 64 2d 6d 6f |or-mode |dired-mo|
|000028c0| 64 65 20 66 69 6c 65 2d | 64 69 72 65 63 74 6f 72 |de file-|director|
|000028d0| 79 2d 70 20 66 69 6c 65 | 2d 6e 61 6d 65 2d 64 69 |y-p file|-name-di|
|000028e0| 72 65 63 74 6f 72 79 20 | 64 65 73 6b 74 6f 70 2d |rectory |desktop-|
|000028f0| 62 75 66 66 65 72 2d 6d | 69 73 63 20 64 69 72 65 |buffer-m|isc dire|
|00002900| 64 20 6d 61 70 63 61 72 | 20 64 69 72 65 64 2d 69 |d mapcar| dired-i|
|00002910| 6e 73 65 72 74 2d 73 75 | 62 64 69 72 20 74 20 6d |nsert-su|bdir t m|
|00002920| 65 73 73 61 67 65 20 22 | 44 69 72 65 63 74 6f 72 |essage "|Director|
|00002930| 79 20 25 73 20 6e 6f 20 | 6c 6f 6e 67 65 72 20 65 |y %s no |longer e|
|00002940| 78 69 73 74 73 2e 22 20 | 73 69 74 2d 66 6f 72 20 |xists." |sit-for |
|00002950| 31 20 69 67 6e 6f 72 65 | 64 5d 20 33 20 28 23 24 |1 ignore|d] 3 (#$|
|00002960| 20 2e 20 31 30 32 37 39 | 29 5d 29 0a 23 40 31 34 | . 10279|)]).#@14|
|00002970| 20 4c 6f 61 64 20 61 20 | 66 69 6c 65 2e 1f 0a 28 | Load a |file...(|
|00002980| 64 65 66 61 6c 69 61 73 | 20 27 64 65 73 6b 74 6f |defalias| 'deskto|
|00002990| 70 2d 62 75 66 66 65 72 | 2d 66 69 6c 65 20 23 5b |p-buffer|-file #[|
|000029a0| 6e 69 6c 20 22 08 85 1e | 00 c1 08 21 84 17 00 5c |nil "...|...!...\|
|000029b0| 6e 83 1d 00 c3 c4 c5 08 | 5c 22 21 83 1d 00 c6 08 |n.......|\"!.....|
|000029c0| 21 88 c7 87 c8 87 22 20 | 5b 64 65 73 6b 74 6f 70 |!....." |[desktop|
|000029d0| 2d 62 75 66 66 65 72 2d | 66 69 6c 65 2d 6e 61 6d |-buffer-|file-nam|
|000029e0| 65 20 66 69 6c 65 2d 65 | 78 69 73 74 73 2d 70 20 |e file-e|xists-p |
|000029f0| 64 65 73 6b 74 6f 70 2d | 6d 69 73 73 69 6e 67 2d |desktop-|missing-|
|00002a00| 66 69 6c 65 2d 77 61 72 | 6e 69 6e 67 20 79 2d 6f |file-war|ning y-o|
|00002a10| 72 2d 6e 2d 70 20 66 6f | 72 6d 61 74 20 22 46 69 |r-n-p fo|rmat "Fi|
|00002a20| 6c 65 20 5c 22 25 73 5c | 22 20 6e 6f 20 6c 6f 6e |le \"%s\|" no lon|
|00002a30| 67 65 72 20 65 78 69 73 | 74 73 2e 20 52 65 2d 63 |ger exis|ts. Re-c|
|00002a40| 72 65 61 74 65 3f 20 22 | 20 66 69 6e 64 2d 66 69 |reate? "| find-fi|
|00002a50| 6c 65 20 74 20 69 67 6e | 6f 72 65 64 5d 20 34 20 |le t ign|ored] 4 |
|00002a60| 28 23 24 20 2e 20 31 30 | 36 30 39 29 5d 29 0a 28 |(#$ . 10|609)]).(|
|00002a70| 64 65 66 61 6c 69 61 73 | 20 27 64 65 73 6b 74 6f |defalias| 'deskto|
|00002a80| 70 2d 63 72 65 61 74 65 | 2d 62 75 66 66 65 72 20 |p-create|-buffer |
|00002a90| 23 5b 28 76 65 72 20 64 | 65 73 6b 74 6f 70 2d 62 |#[(ver d|esktop-b|
|00002aa0| 75 66 66 65 72 2d 66 69 | 6c 65 2d 6e 61 6d 65 20 |uffer-fi|le-name |
|00002ab0| 64 65 73 6b 74 6f 70 2d | 62 75 66 66 65 72 2d 6e |desktop-|buffer-n|
|00002ac0| 61 6d 65 20 64 65 73 6b | 74 6f 70 2d 62 75 66 66 |ame desk|top-buff|
|00002ad0| 65 72 2d 6d 61 6a 6f 72 | 2d 6d 6f 64 65 20 6d 69 |er-major|-mode mi|
|00002ae0| 6d 20 70 74 20 6d 6b 20 | 72 6f 20 64 65 73 6b 74 |m pt mk |ro deskt|
|00002af0| 6f 70 2d 62 75 66 66 65 | 72 2d 6d 69 73 63 20 26 |op-buffe|r-misc &|
|00002b00| 6f 70 74 69 6f 6e 61 6c | 20 6c 6f 63 61 6c 73 29 |optional| locals)|
|00002b10| 20 22 08 c1 89 1a 1b 1c | 0b 84 1a 00 5c 66 83 1a | "......|....\f..|
|00002b20| 00 5c 66 40 89 12 20 13 | 5c 66 41 14 82 06 00 0b |.\f@.. .|\fA.....|
|00002b30| c5 3d 85 97 00 c6 20 0e | 07 9a 84 2d 00 c8 0e 07 |.=.... .|...-....|
|00002b40| 21 88 c9 0e 5c 6e 40 83 | 38 00 cb 82 39 00 cc 21 |!...\n@.|8...9..!|
|00002b50| 88 0e 0d 62 88 0e 0e 3a | 83 54 00 cf 0e 0e 40 21 |...b...:|.T....@!|
|00002b60| 88 0e 0e 41 40 16 10 82 | 59 00 cf 0e 0e 21 88 0e |...A@...|Y....!..|
|00002b70| 11 83 62 00 0e 11 16 12 | 0e 13 85 97 00 0e 13 40 |..b.....|.......@|
|00002b80| 89 1e 14 3a 83 82 00 d5 | 0e 14 40 21 88 0e 14 40 |...:....|..@!...@|
|00002b90| 0e 14 41 4c 88 82 8c 00 | d5 0e 14 21 88 d6 0e 14 |..AL....|...!....|
|00002ba0| 21 88 29 0e 13 41 89 16 | 13 84 67 00 c1 2b 87 22 |!.)..A..|..g..+."|
|00002bb0| 20 5b 64 65 73 6b 74 6f | 70 2d 62 75 66 66 65 72 | [deskto|p-buffer|
|00002bc0| 2d 68 61 6e 64 6c 65 72 | 73 20 6e 69 6c 20 68 61 |-handler|s nil ha|
|00002bd0| 6e 64 6c 65 72 20 72 65 | 73 75 6c 74 20 68 6c 69 |ndler re|sult hli|
|00002be0| 73 74 20 74 20 62 75 66 | 66 65 72 2d 6e 61 6d 65 |st t buf|fer-name|
|00002bf0| 20 64 65 73 6b 74 6f 70 | 2d 62 75 66 66 65 72 2d | desktop|-buffer-|
|00002c00| 6e 61 6d 65 20 72 65 6e | 61 6d 65 2d 62 75 66 66 |name ren|ame-buff|
|00002c10| 65 72 20 61 75 74 6f 2d | 66 69 6c 6c 2d 6d 6f 64 |er auto-|fill-mod|
|00002c20| 65 20 6d 69 6d 20 31 20 | 30 20 70 74 20 6d 6b 20 |e mim 1 |0 pt mk |
|00002c30| 73 65 74 2d 6d 61 72 6b | 20 6d 61 72 6b 2d 61 63 |set-mark| mark-ac|
|00002c40| 74 69 76 65 20 72 6f 20 | 62 75 66 66 65 72 2d 72 |tive ro |buffer-r|
|00002c50| 65 61 64 2d 6f 6e 6c 79 | 20 6c 6f 63 61 6c 73 20 |ead-only| locals |
|00002c60| 74 68 69 73 20 6d 61 6b | 65 2d 6c 6f 63 61 6c 2d |this mak|e-local-|
|00002c70| 76 61 72 69 61 62 6c 65 | 20 6d 61 6b 75 6e 62 6f |variable| makunbo|
|00002c80| 75 6e 64 5d 20 34 5d 29 | 0a 28 64 65 66 61 6c 69 |und] 4])|.(defali|
|00002c90| 61 73 20 27 64 65 73 6b | 74 6f 70 2d 62 75 66 66 |as 'desk|top-buff|
|00002ca0| 65 72 20 23 5b 28 64 65 | 73 6b 74 6f 70 2d 62 75 |er #[(de|sktop-bu|
|00002cb0| 66 66 65 72 2d 66 69 6c | 65 2d 6e 61 6d 65 20 64 |ffer-fil|e-name d|
|00002cc0| 65 73 6b 74 6f 70 2d 62 | 75 66 66 65 72 2d 6e 61 |esktop-b|uffer-na|
|00002cd0| 6d 65 20 64 65 73 6b 74 | 6f 70 2d 62 75 66 66 65 |me deskt|op-buffe|
|00002ce0| 72 2d 6d 61 6a 6f 72 2d | 6d 6f 64 65 20 6d 69 6d |r-major-|mode mim|
|00002cf0| 20 70 74 20 6d 6b 20 72 | 6f 20 74 6c 20 66 63 20 | pt mk r|o tl fc |
|00002d00| 63 66 73 20 63 72 20 64 | 65 73 6b 74 6f 70 2d 62 |cfs cr d|esktop-b|
|00002d10| 75 66 66 65 72 2d 6d 69 | 73 63 29 20 22 c0 c1 5c |uffer-mi|sc) "..\|
|00002d20| 6e 0b 5c 66 0d 41 0e 06 | 0e 07 0e 08 0e 09 ca 0e |n.\f.A..|........|
|00002d30| 0b 42 cc 0e 0d 42 ce 0e | 0f 42 d0 0e 11 42 d2 0d |.B...B..|.B...B..|
|00002d40| 40 42 af 05 26 5c 6e 87 | 22 20 5b 64 65 73 6b 74 |@B..&\n.|" [deskt|
|00002d50| 6f 70 2d 63 72 65 61 74 | 65 2d 62 75 66 66 65 72 |op-creat|e-buffer|
|00002d60| 20 32 30 35 20 64 65 73 | 6b 74 6f 70 2d 62 75 66 | 205 des|ktop-buf|
|00002d70| 66 65 72 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 64 65 |fer-file|-name de|
|00002d80| 73 6b 74 6f 70 2d 62 75 | 66 66 65 72 2d 6e 61 6d |sktop-bu|ffer-nam|
|00002d90| 65 20 64 65 73 6b 74 6f | 70 2d 62 75 66 66 65 72 |e deskto|p-buffer|
|00002da0| 2d 6d 61 6a 6f 72 2d 6d | 6f 64 65 20 6d 69 6d 20 |-major-m|ode mim |
|00002db0| 70 74 20 6d 6b 20 72 6f | 20 64 65 73 6b 74 6f 70 |pt mk ro| desktop|
|00002dc0| 2d 62 75 66 66 65 72 2d | 6d 69 73 63 20 74 72 75 |-buffer-|misc tru|
|00002dd0| 6e 63 61 74 65 2d 6c 69 | 6e 65 73 20 74 6c 20 66 |ncate-li|nes tl f|
|00002de0| 69 6c 6c 2d 63 6f 6c 75 | 6d 6e 20 66 63 20 63 61 |ill-colu|mn fc ca|
|00002df0| 73 65 2d 66 6f 6c 64 2d | 73 65 61 72 63 68 20 63 |se-fold-|search c|
|00002e00| 66 73 20 63 61 73 65 2d | 72 65 70 6c 61 63 65 20 |fs case-|replace |
|00002e10| 63 72 20 6f 76 65 72 77 | 72 69 74 65 2d 6d 6f 64 |cr overw|rite-mod|
|00002e20| 65 5d 20 31 36 5d 29 0a | 28 70 72 6f 76 69 64 65 |e] 16]).|(provide|
|00002e30| 20 28 71 75 6f 74 65 20 | 64 65 73 6b 74 6f 70 29 | (quote |desktop)|
|00002e40| 29 0a | |). | |
+--------+-------------------------+-------------------------+--------+--------+